<template>
  <div class="l">
     <p v-for="(v,k) in list" :key="k" @click="did(k)">
         {{v.du}}---{{v.t}}
    </p>
  </div>
</template>

<script>
export default {
    name:"List",
    props:["list"],
    data(){
        return{

        }
    },
    methods:{
        did(k){
            this.$emit("egz",k)
        }
    }
}
</script>

<style>

</style>